package com.test.pattern.adapter.class_adapter;

/**
 * @ClassName: SDAdapterTF
 * @description:
 * @author: Mr du
 * @create: 2024-02-20 22:04
 */
public class SDAdapterTF extends TFCardImpl implements SDCard{

    @Override
    public String readSD() {
        System.out.println("adapter read tf card ");
        return readTF();
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("adapter write tf card");
        writeTF(msg);
    }
}
